<template>
    <Select style="styleList" placeholder="问题大类" @on-change="changeVal">
        <Option v-for="item in mainQUestionList" v-bind:value="item" v-bind:key="item" @keyup.enter.native.prevent="search">{{item}}</Option>
    </Select>
</template>
<script>
    export default {
        name: 'baseLevel',
        props: {
            styleList: String
        },
        data() {
            return {
                mainQUestionList: ['咨询', '投诉','其他'],
            }
        },
        methods: {
            changeVal(curropt) {
                this.$emit('getBaseLevel', curropt)
            },
           
        }
    }
</script>